package com.nongtai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nongtai.pojo.entity.GoodsHotRecommend;
import com.nongtai.pojo.entity.GoodsHotRecommendExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodsHotRecommendMapper extends BaseMapper<GoodsHotRecommend> {
    long countByExample(GoodsHotRecommendExample example);

    int deleteByExample(GoodsHotRecommendExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GoodsHotRecommend record);

    int insertSelective(GoodsHotRecommend record);

    List<GoodsHotRecommend> selectByExample(GoodsHotRecommendExample example);

    GoodsHotRecommend selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GoodsHotRecommend record, @Param("example") GoodsHotRecommendExample example);

    int updateByExample(@Param("record") GoodsHotRecommend record, @Param("example") GoodsHotRecommendExample example);

    int updateByPrimaryKeySelective(GoodsHotRecommend record);

    int updateByPrimaryKey(GoodsHotRecommend record);
}